package com.yywq.pojo;

import lombok.Data;
import org.springframework.stereotype.Repository;

import javax.validation.constraints.NotBlank;

/**
 * @author: 吴磊
 * @program: yywq
 * @create: 2021-03-20 22:07
 * 用户
 */
@Repository
@Data
public class User {
    private String id;
    @NotBlank(message = "昵称不能为空")
    private String nickName;
    @NotBlank(message = "用户名不能为空")
    private String realName;
    @NotBlank(message = "性别不能为空")
    private String sex;
    @NotBlank(message = "生日不能为空")
    private String birthday;
    private Integer score;
    @NotBlank(message = "密码不能为空")
    private String password;
    //    @NotBlank(message = "用户头像不能为空")
    private String userPicture;
    @NotBlank(message = "手机号不能为空")
    private String telPhone;
}
